import * as req from '@/request';

export async function messagelist(
  params?: { [key: string]: any },
  sorter?: { [key: string]: any },
  filter?: { [key: string]: any },
) {
  return req.postForm<API.MessageList>('/data/messagelist', params, sorter, filter);
}


export async function getGrafana() {
  return req.postForm<API.GrafanaViewModel>('/data/GetGrafana');
}